register
( service in module ng
)
$controllerProvider#register(name, constructor);
name – {string} –
Controller name
constructor – {Function|Array} –
Controller constructor fn (optionally decorated with DI annotations in the array notation).